﻿using System;
using System.Collections.Generic;

namespace JSH.ITDiplom.OOPC01.PersonalIdentityNumber.UnitTest
{
    /// <summary>
    /// Test utility class.
    /// </summary>
    internal class Util
    {
        /// <summary>
        /// Writes errors to the conslole.
        /// </summary>
        /// <param name="errors">A list of errors.</param>
        public static void LogErrors(IList<string> errors)
        {
            Console.WriteLine("Errors found:");
            foreach (string error in errors)
            {
                Console.WriteLine("  " + error);
            }
        }    
    }
}